
body {
  background: url("../images/bg.png") !important;
}

.m-header-logo {
  padding-top: 0.2em !important;
  padding-bottom: 0.2em !important;
}

.m-header-toggle-icon {
  position: absolute;
  top: 0;
  right: 0;
}

.m-footer {
  padding-top: 3em !important;
  padding-bottom: 3em !important;
}

.m-text-article {
  font-weight: 300 !important;
  letter-spacing: 1px !important;
  line-height: 1.8;
}

.m-article-container {
  max-width: 60em !important;
  margin: auto !important;
}

/* layout */
.m-inline-block {
  display: inline-block;
}

.m-padding-none {
  padding: 0 !important;
}

.m-padding-mini {
  padding: 0.2em !important;
}

.m-padding-tiny {
  padding: 0.5em !important;
}


.m-padding-tb-none {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.m-padding-tb-mini {
  padding-top: 0.2em !important;
  padding-bottom: 0.2em !important;
}

.m-padding-tb-tiny {
  padding-top: 0.5em !important;
  padding-bottom: 0.5em !important;
}

.m-padding-tb-small {
  padding-top: 1em !important;
  padding-bottom: 1em !important;
}

.m-padding-tb-middle {
  padding-top: 2em !important;
  padding-bottom: 2em !important;
}

.m-padding-tb-large {
  padding-top: 3em !important;
  padding-bottom: 3em !important;
}

.m-padding-tb-huge {
  padding-top: 4em !important;
  padding-bottom: 4em !important;
}

.m-padding-tb-massive {
  padding-top: 5em !important;
  padding-bottom: 5em !important;
}

.m-padding-lr-huge {
  padding-left: 4em !important;
  padding-right: 4em !important;
}

.m-padding-lr-responsive {
  padding-left: 4em !important;
  padding-right: 4em !important;
}

.m-margin-tb-none {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.m-margin-tb-mini {
  margin-top: 0.2em !important;
  margin-bottom: 0.2em !important;
}

.m-margin-tb-tiny {
  margin-top: 0.5em !important;
  margin-bottom: 0.5em !important;
}

.m-margin-tb-small {
  margin-top: 1em !important;
  margin-bottom: 1em !important;
}

.m-margin-tb-middle {
  margin-top: 2em !important;
  margin-bottom: 2em !important;
}

.m-margin-tb-large {
  margin-top: 3em !important;
  margin-bottom: 3em !important;
}

.m-margin-tb-huge {
  margin-top: 4em !important;
  margin-bottom: 4em !important;
}

.m-margin-tb-massive {
  margin-top: 5em !important;
  margin-bottom: 5em !important;
}

.m-margin-b-mini {
  margin-bottom: 0.2em !important;
}

.m-margin-b-tiny {
  margin-bottom: 0.5em !important;
}

/* text */
.m-text-thin {
  font-weight: 300 !important;
}

.m-text-spacing {
  letter-spacing: 1px !important;
}

.m-text-lined {
  line-height: 1.8;
}

.m-text-dark-gray {
  color: #333 !important;
}

.m-opacity-60 {
  opacity: 0.6 !important;
}

.m-opacity-80 {
  opacity: 0.8 !important;
}

/* visible */
.m-show-on-mobile {
  display: none !important;
}

/* 手机端 */
@media only screen and (max-width: 767px) {
  .m-hide-on-mobile {
    display: none !important;
  }

  .m-show-on-mobile {
    display: initial !important;
  }

  .m-wide-on-mobile {
    width: 100% !important;
  }

  .m-padding-lr-responsive {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .m-padding-lr-clear-on-mobile {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* 阴影 */
.m-shadow-small {
  -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

/* 定位 */
.m-fixed {
  position: fixed !important;
  z-index: 1 !important;
}

.m-right-bottom {
  bottom: 0 !important;
  right: 0 !important;
}

/* for tocbot */
.toc-list-item {
  list-style-type: none;
}

h1::before, h2::before, h3::before, h4::before, h5::before, h6::before {
  display: block;
  content: " ";
  height: 20px;
  margin-top: -20px;
  visibility: hidden;
}

